<%@ Register TagPrefix="skm" Namespace="FAQControls" Assembly="FAQControls" %>
<%@ Register TagPrefix="web" Namespace="WebChart" Assembly="WebChart" %>
<%@ Page language="c#" Codebehind="Reports.aspx.cs" AutoEventWireup="True" Inherits="Adge.Web.Faq.Admin.Reports" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Reports</title>
		<LINK href="../FAQstyle.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body MS_POSITIONING="FlowLayout">
		<form id="Form1" method="post" runat="server">
			<p><skm:LoginPanel id="LoginPanel1" runat="server" cssclass="faq_logout" /></p>
			<h1>
				Reports</h1>
			<div class="faq_breadcrumb"><a href="Default.aspx">skmFAQs.NET Administration</a> &gt; 
				Reports</div>
			<P>Generate a report based on the following criteria:</P>
			<table border="0" cellpadding="3">
				<tr>
					<td align="right"><b>Month</b></td>
					<td align="left">
						<asp:DropDownList Runat="server" ID="month"></asp:DropDownList>
					</td>
				</tr>
				<tr>
					<td align="right"><b>Year</b></td>
					<td align="left">
						<asp:DropDownList Runat="server" ID="year"></asp:DropDownList>
					</td>
				</tr>
				<TR>
					<TD align="right" valign="top"><b>Show Views By:</b></TD>
					<TD align="left">
						<table border="0">
							<tr>
								<td><asp:RadioButton Runat="server" ID="radFAQ" GroupName="showBy" Text="A specific FAQ" Checked="True"></asp:RadioButton></td>
								<td width="25">&nbsp;</td>
								<td><asp:DropDownList Runat="server" ID="FAQ" DataTextField="AbbreviatedStrippedHTMLQuestion" DataValueField="FAQID"></asp:DropDownList></td>
							</tr>
							<tr>
								<td><asp:RadioButton Runat="server" ID="radCategory" GroupName="showBy" Text="A specific Category"></asp:RadioButton></td>
								<td width="25">&nbsp;</td>
								<td><asp:DropDownList Runat="server" ID="category" DataTextField="Name" DataValueField="CategoryID"></asp:DropDownList></td>
							</tr>
							<tr>
								<td colspan="2"><asp:RadioButton Runat="server" ID="radAll" GroupName="showBy" Text="All FAQs in all Categories"></asp:RadioButton></td>
								<td>&nbsp;</td>
							</tr>
						</table>
					</TD>
				</TR>
				<tr>
					<td align="center" colspan="2">
						<asp:Button Runat="server" ID="btnShowReport" Text="Display Report" onclick="btnShowReport_Click"></asp:Button>
					</td>
				</tr>
			</table>
			<P>
				<web:ChartControl id="reportChart" runat="server" BorderWidth="5px" BorderStyle="Outset" Visible="False"
					HasChartLegend="False" Width="700px" TopPadding="19" Height="400px" Padding="18" LeftChartPadding="15">
					<XTitle StringFormat="Center,Near,Character,LineLimit" Text="Days of the Month" Font="Verdana, 9.75pt"></XTitle>
					<YAxisFont StringFormat="Far,Near,Character,LineLimit" Font="Verdana, 8.25pt"></YAxisFont>
					<ChartTitle StringFormat="Center,Near,Character,LineLimit" Font="Verdana, 12pt, style=Bold"></ChartTitle>
					<XAxisFont StringFormat="Center,Near,Character,LineLimit" Font="Verdana, 8.25pt"></XAxisFont>
					<Background Color="Khaki"></Background>
					<YTitle StringFormat="Center,Near,Character,DirectionVertical" Font="Verdana, 9.75pt"></YTitle>
				</web:ChartControl></P>
		</form>
	</body>
</HTML>
